package com.dys.entity;

/**
 * @Author: 疾风
 * @ClassName: LoginBody
 * @Description: 用户登录实体(携带验证码)
 * @CreateDate: 2024/12/18
 * @Version: v1.0.0
 */
public class LoginBody {
    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 验证码
     */
    private String code;

    /**
     * 验证码唯一标识
     */
    private String uuid;

    public LoginBody() {
    }

    public LoginBody(String userName, String password, String code, String uuid) {
        this.userName = userName;
        this.password = password;
        this.code = code;
        this.uuid = uuid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Override
    public String toString() {
        return "LoginBody{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", code='" + code + '\'' +
                ", uuid='" + uuid + '\'' +
                '}';
    }
}
